package com.itcat.service.impl;/*
 * @Author: gonhsl
 * @Date:2022-04-04-16:33
 * */

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itcat.api.mysql.SmsCouponHistoryApi;
import com.itcat.mysql.pojo.SmsCouponHistory;
import com.itcat.service.SmsCouponHistoryService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

@Service
public class SmsCouponHistoryServiceImpl implements SmsCouponHistoryService {
    @DubboReference
    private SmsCouponHistoryApi smsCouponHistoryApi;
    @Override
    public Page<SmsCouponHistory> list(Integer pageNum, Integer pageSize, Integer couponId, String orderSn, Integer useStatus) {
      return  smsCouponHistoryApi.list( pageNum,  pageSize,  couponId,  orderSn,  useStatus);
    }
}
